<!--
 * @Author: boyyang
 * @Date: 2022-01-02 18:49:38
 * @LastEditTime: 2022-02-02 20:16:25
 * @LastEditors: boyyang
 * @Description: 
 * @FilePath: \boyyang\src\components\login\loginBackground.vue
-->

<template>
    <div class="video">
        <video src="@/assets/[SHANA]囍fin.mp4" muted="false" autoplay loop></video>
    </div>
</template>

<style scoped lang="scss">
.video {
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

// @media screen and (max-width: 500px) {
//     .video {
//         background-image: url("@/assets/g-5.jpeg");
//         background-size: cover;

//         video {
//             display: none;
//         }
//     }
// }
</style>
